#include "zhangyu.h"

zhangyu::zhangyu() {}

zhangyu::zhangyu(qreal ceil, qreal floor, qreal sx, QPixmap p1, QPixmap p2)
{
    Ceil=ceil;
    Floor=floor;
    Sx=sx;
    zhangyuAction.append(p1);
    zhangyuAction.append(p2);
}

QRectF zhangyu::boundingRectF()
{
    return QRectF(this->pos().x(),this->pos().y(),this->boundingRect().width(),this->boundingRect().height());
}
